//
//  EmptyBaseView.swift
//  Demo
//
//  Created by S JZ on 2024/8/2.
//

import UIKit

public class EmptyBaseView: UIView {
    public var image: UIImage? {
        didSet {
            if let image {
                emptyImageView.image = image
                self.setNeedsLayout()
            }
        }
    }
    
    public var titleStr: String? {
        didSet {
            emptyTitleLabel.text = titleStr
            self.setNeedsLayout()
        }
    }
    
    
    public lazy var emptyImageView = UIImageView()
    public lazy var emptyTitleLabel = UILabel()
    public lazy var emptyDeslabel = UILabel()
    public lazy var emptyButton = UIButton()
    
    
}
